/*
 * AddSkill.h
 *
 *  Created on: Jan 12, 2009
 *      Author: sez
 */

#ifndef ADDSKILL_H_
#define ADDSKILL_H_

#include "AddUpdateDialog.h"

#include <QDialog>

class Skill;
namespace Ui {
    class AddSkillDialog;
}

class AddSkill: public AddUpdateDialog
{
    Q_OBJECT
public:
    AddSkill(QWidget *parent = 0);
    virtual ~AddSkill();
    TitledData *data();
    static AddSkill *dialog(QWidget *parent = 0);
protected:
    void loadData();
    void saveData();
    void setupData();
    void clearData();
private:
    Ui::AddSkillDialog *mAddSkill;
    Skill *mData;
};

#endif /* ADDSKILL_H_ */
